<?php if($user->user_identity==1){ ?>
<div class="contt conntn">
    <div class="cttl fl">
        <ul>
            <li><a href="/user" class="cttlsld icogr">个人中心</a></li>
            <li><a href="personal profile.html" class="icozl">个人资料</a></li>
            <li><a href="my attendance .html" class="icork">我的考勤</a></li>
            <li><a href="my mission.html" class="icorw">我的任务</a></li>
            <li><a href="/user/mymoney" class="icozc">我的资金</a></li>
            <li><a href="tools.html" class="icozd">我的道具</a></li>
            <li><a href="my address.html" class="icozg">地址管理</a></li>
            <li><a href="complaints.html" class="icozt">投诉管理</a></li>
            <li><a href="wodetuiguang.html" class="icotg">推广赚钱</a></li>
        </ul>
    </div>
    <div class="cttr">
        <div class="cttr_top">
            <div class="portraitdiv fl">
                <div class="pordiv fl">
                    <div class="por1"><img src="/static/images/katon6.jpg" /></div>
                    <div class="por2"><img src="/static/images/portraitimg.png" /></div>
                    <div class="clr"></div>
                </div>
                <div class="por3">
                    <p> <b><?php echo $user->user_name; ?></b> <i> <a href="" class="identity r2" title="未通过身份实名认证"></a></i> （刷手） </p>
                    <p>
                        <span>我的等级：</span>
                        <?php if($user->user_exp>=0&&$user->user_exp<1){ ?><img src="/static/images/vip-0.png" />
                        <?php }elseif($user->user_exp>=1&&$user->user_exp<10){ ?><img src="/static/images/vip-1.png" />
                        <?php }elseif($user->user_exp>=10&&$user->user_exp<40){ ?><img src="/static/images/vip-2.png" />
                        <?php }elseif($user->user_exp>=40&&$user->user_exp<80){ ?><img src="/static/images/vip-3.png" />
                        <?php }elseif($user->user_exp>=80&&$user->user_exp<160){ ?><img src="/static/images/vip-4.png" />
                        <?php }elseif($user->user_exp>=160&&$user->user_exp<240){ ?><img src="/static/images/vip-5.png" />
                        <?php }elseif($user->user_exp>=240&&$user->user_exp<360){ ?><img src="/static/images/vip-6.png" />
                        <?php }elseif($user->user_exp>=360&&$user->user_exp<520){ ?><img src="/static/images/vip-7.png" />
                        <?php }elseif($user->user_exp>=520&&$user->user_exp<720){ ?><img src="/static/images/vip-8.png" />
                        <?php }elseif($user->user_exp>=720&&$user->user_exp<1000){ ?><img src="/static/images/vip-9.png" />
                        <?php }elseif($user->user_exp>=1000){ ?><img src="/static/images/vip-10.png" /><?php } ?>
                    </p>
                    <p><span>经验值：</span><?php echo $user->user_exp; ?></p>
                    <p><span>我的积分：</span><?php echo $user->user_point; ?></p>
                    <p><span>我的投诉：</span><?php echo $user->user_complain; ?></p>
                </div>
                <div class="mybtndiv fl">
                    <div class="mbtnv fl">
                        <div id="signstar_wrapper" class="j_sign_box sign_box_bright sign_box_bright_signed"> <a href="#" onclick="return false" data-dw="2" tabindex="3" title="考勤" class="j_signbtn signstar_signed"> <span class="sign_today_date">08月23日</span> <span class="sign_month_lack_days">漏签<span class="j_sign_month_lack_days">22</span>天</span> <span class="sign_keep_span">连续1天</span></a> </div>
                        <ul>
                            <a href="">
                                <li class="my_bs1 mt10 mr10 "></li>
                            </a> <a href="">
                                <li class="my_sj1 mt10 mr10"></li>
                            </a> <a href="sh-wanshangerenziliao.html">
                                <li class="my_sjx mt10 mr10"></li>
                            </a><a href="sh-shimingrenzheng.html">
                                <li class="my_sf1 mt10 mr10"></li>
                            </a>
                        </ul>
                        <div class="card_top_right">
                            <div id="pagelet_forum/pagelet/sign_mod">
                                <div class="sign_mod_bright" id="sign_mod">
                                    <div class="sign_tip_container">
                                        <div class="j_succ_info sign_succ1"  id="eni" style="display:none;">
                                            <div class="sign_tip_bdwrap clearfix">
                                                <div class="sign_tip_main fl">
                                                    <div class="sign_succ_calendar">
                                                        <div class="sign_succ_calendar_title">
                                                            <div class="calendar_title_month clearfix">
                                                                <div class="calendar_month_next j_calendar_month_next">&nbsp;</div>
                                                                <div class="calendar_month_prev j_calendar_month_prev">&nbsp;</div>
                                                                <div class="calendar_month_span j_calendar_month">2016年08月</div>
                                                            </div>
                                                        </div>
                                                        <table class="sign_succ_table ">
                                                            <thead align="center">
                                                            <tr class="sign_succ_canlerdar_head">
                                                                <td>日</td>
                                                                <td>一</td>
                                                                <td>二</td>
                                                                <td>三</td>
                                                                <td>四</td>
                                                                <td>五</td>
                                                                <td>六</td>
                                                            </tr>
                                                            </thead>
                                                            <tbody class="sign_succ_canlerdar_days j_canlerdar_days" align="center">
                                                            <tr>
                                                                <td class="j_1_0 emptyDate">&nbsp;</td>
                                                                <td class="j_1_1 j_d_1 unsigned_day">1
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_1_2 j_d_2 unsigned_day">2
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_1_3 j_d_3 unsigned_day">3
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_1_4 j_d_4 unsigned_day">4
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_1_5 j_d_5 unsigned_day">5
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_1_6 j_d_6 unsigned_day">6
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="j_2_0 j_d_7 unsigned_day">7
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_2_1 j_d_8 unsigned_day">8
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_2_2 j_d_9 unsigned_day">9
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_2_3 j_d_10 unsigned_day">10
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_2_4 j_d_11 unsigned_day">11
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_2_5 j_d_12 unsigned_day">12
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_2_6 j_d_13 unsigned_day">13
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="j_3_0 j_d_14 unsigned_day">14
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_3_1 j_d_15 unsigned_day">15
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_3_2 j_d_16 unsigned_day">16
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_3_3 j_d_17 unsigned_day">17
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_3_4 j_d_18 unsigned_day">18
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_3_5 j_d_19 unsigned_day">19
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_3_6 j_d_20 unsigned_day">20
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="j_4_0 j_d_21 unsigned_day">21
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td class="j_4_1 j_d_22 unsigned_day">22
                                                                    <div class="mozilla_td_hack" style="position:absolute"></div>
                                                                </td>
                                                                <td title="于15点18分，第22045个签到，签到经验+2，连续签到+4" class="j_4_2 j_d_23 signed_anime_day">23</td>
                                                                <td class="j_4_3 j_d_24">24</td>
                                                                <td class="j_4_4 j_d_25">25</td>
                                                                <td class="j_4_5 j_d_26">26</td>
                                                                <td class="j_4_6 j_d_27">27</td>
                                                            </tr>
                                                            <tr class="j_5" style="">
                                                                <td class="j_5_0 j_d_28">28</td>
                                                                <td class="j_5_1 j_d_29">29</td>
                                                                <td class="j_5_2 j_d_30">30</td>
                                                                <td class="j_5_3 j_d_31">31</td>
                                                                <td class="j_5_4 emptyDate">&nbsp;</td>
                                                                <td class="j_5_5 emptyDate">&nbsp;</td>
                                                                <td class="j_5_6 emptyDate">&nbsp;</td>
                                                            </tr>
                                                            <tr class="j_6" style="display:none">
                                                                <td class="j_6_0 emptyDate">&nbsp;</td>
                                                                <td class="j_6_1 emptyDate">&nbsp;</td>
                                                                <td class="j_6_2 emptyDate">&nbsp;</td>
                                                                <td class="j_6_3 emptyDate">&nbsp;</td>
                                                                <td class="j_6_4 emptyDate">&nbsp;</td>
                                                                <td class="j_6_5 emptyDate">&nbsp;</td>
                                                                <td class="j_6_6 emptyDate">&nbsp;</td>
                                                            </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                    <div class="sign_tip_boards">
                                                        <div class="sign_tip_board sign_tip_board_urank j_sign_ad_mobi">
                                                            <div class="sign_tip_board_ico"></div>
                                                            <p>考勤排名：今日右右第<span class="sign_index_num j_signin_index">6666</span>个签到，</p>
                                                            <p><span class="j_succ_text mt20">右右网希望大家每日考勤，这样更有利于右右网的发展</span></p>
                                                        </div>
                                                        <div class="sign_tip_board sign_tip_board_barrank"> </div>
                                                    </div>
                                                </div>
                                                <div class="sign_tip_aside ff">
                                                    <div class="sign_tip_sbox sign_tip_sbox_first sign_tip_sbox_1key">
                                                        <div class="sign_tip_sbox_hd ff">每日考勤</div>
                                                        <div class="sign_tip_sbox_bd">
                                                            <div class="sign_tip_sbox_cnt"> <a class="sign_tip_sbox_card j_sign_tip_1key_icon sign_tip_sbox_card_pencil" href="" target="_blank"></a>
                                                                <div class="sign_tip_sbox_txt">亲，已经完成了当日考勤，快去做任务赚钱吧 </div>

                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="sign_tip_sbox sign_tip_sbox_fixsign">
                                                        <div class="sign_tip_sbox_hd ff">补考卡</div>
                                                        <div class="sign_tip_sbox_bd">
                                                            <div class="sign_tip_sbox_cnt"> <a href="" class="sign_tip_sbox_card" target="_blank"><span class="sign_num"><span class="j_rpln_card_count"></span></span></a>
                                                                <div class="sign_tip_sbox_txt">每连续考勤7天 可获得一张补考卡</div>
                                                                <div class="sign_tip_sbox_btn"> <a href="#" class="btn-sub btn-small j_lack_sign_monthly_help" target="_blank">如何使用？</a> </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="sign_tip_sbox sign_tip_sbox_chainsign">
                                                        <div class="sign_tip_sbox_hd ff">投诉撤销卡</div>
                                                        <div class="sign_tip_sbox_bd">
                                                            <div class="sign_tip_sbox_cnt"> <a href="" class="sign_tip_sbox_card" target="_blank"><span class="sign_num"><span class="j_sign_chainsign_num"></span></span></a>
                                                                <div class="sign_tip_sbox_txt">每连续考勤14天，可获得一张投诉撤销卡。</div>
                                                                <div class="sign_tip_sbox_btn"> <a href="#" class="btn-sub btn-small j_lack_sign_monthly_help" target="_blank">如何使用？</a></div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="porjdt fl">
            <ul>
                <li> <em class="djimg2 b000"></em>
                    <p> <span>0经验值</span> </p>
                </li>
                <li> <em class="djimg2 c001"></em>
                    <p> <span>1经验值</span> </p>
                </li>
                <li> <em class="djimg2 c002"></em>
                    <p> <span>10经验值</span> </p>
                </li>
                <li> <em class="djimg2 c003"></em>
                    <p> <span>40经验值</span> </p>
                </li>
                <li> <em class="djimg2 c004"></em>
                    <p> <span>80经验值</span> </p>
                </li>
                <li> <em class="djimg2 c005"></em>
                    <p> <span>160经验值</span> </p>
                </li>
                <li> <em class="djimg2 c006"></em>
                    <p> <span>240经验值</span> </p>
                </li>
                <li> <em class="djimg2 c007"></em>
                    <p> <span>360经验值</span> </p>
                </li>
                <li> <em class="djimg2 c008"></em>
                    <p> <span>520经验值</span> </p>
                </li>
                <li> <em class="djimg2 c009"></em>
                    <p> <span>720经验值</span> </p>
                </li>
                <li class=""> <em class="djimg2 c010"></em>
                    <p> <span>1000经验值</span> </p>
                </li>
            </ul>
            <div class="jdcd">
                <p class="wi0"></p>
            </div>
            <div class="clr"></div>
        </div>
    </div>
    <div class="cttr2">
        <div class="cttr2_1">
            <div class="cttr2_2"> <span class="toptip">资金明细</span> <span class="ssblue fr dis_r15"></span><span class="ssblue fr dis_r15"><a href="my money.html"> 更多</a></span> </div>
            <div class="stbl">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tbody>
                    <tr class="trtitle">
                        <td> 操作类型 </td>
                        <td> 变更金额（元） </td>
                        <td> 余额（元） </td>
                        <td> 操作时间 </td>
                    </tr>
                    <tr class="trtitle">
                        <td colspan="4">
                            <p class="empty-box"> 暂无记录</p>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<?php }elseif($user->user_identity==2){ ?>

<div class="contt conntn">
    <div class="cttl fl">
        <ul>
            <li><a href="/user" class="cttlsld icogr">个人中心</a></li>
            <li><a href="spersonal profile.html" class="icozl">个人资料</a></li>
            <li><a href="my smission.html" class="icorw">我的任务</a></li>
            <li><a href="/user/mymoney" class="icozc">我的资金</a></li>
            <li><a href="my saddress.html" class="icozg">地址管理</a></li>
            <li><a href="scomplaints.html" class="icozt">投诉管理</a></li>
            <li><a href="" class="icozt icoze">真实流量</a></li>
            <li><a href="" class="icozt icozn">店铺托管</a></li>
            <li><a href="wodetuiguang-sj.html" class="icotg">推广赚钱</a></li>
            <li><a href="blacklist.html" class="icozt icozh ">黑名单</a></li>
        </ul>
    </div>
    <div class="cttr ctrrn">
        <div class="cttr_top">
            <div class="portraitdiv">
                <div class="pordiv fl">
                    <div class="por1"><img src="/static/images/katon6.jpg" /></div>
                    <div class="por2"><img src="/static/images/portraitimg.png" /></div>
                    <div class="clr"></div>
                </div>
                <div class="por3">
                    <p> <b><?php echo $user->user_name; ?></b> <i> <a href="" class="identity r2" title="未通过身份实名认证"></a></i> （商家） </p>
                    <p>
                        <span>我的等级：</span>
                        <?php if($user->user_exp>=0&&$user->user_exp<1){ ?><img src="/static/images/vip-0.png" />
                        <?php }elseif($user->user_exp>=1&&$user->user_exp<10){ ?><img src="/static/images/vip-1.png" />
                        <?php }elseif($user->user_exp>=10&&$user->user_exp<40){ ?><img src="/static/images/vip-2.png" />
                        <?php }elseif($user->user_exp>=40&&$user->user_exp<80){ ?><img src="/static/images/vip-3.png" />
                        <?php }elseif($user->user_exp>=80&&$user->user_exp<160){ ?><img src="/static/images/vip-4.png" />
                        <?php }elseif($user->user_exp>=160&&$user->user_exp<240){ ?><img src="/static/images/vip-5.png" />
                        <?php }elseif($user->user_exp>=240&&$user->user_exp<360){ ?><img src="/static/images/vip-6.png" />
                        <?php }elseif($user->user_exp>=360&&$user->user_exp<520){ ?><img src="/static/images/vip-7.png" />
                        <?php }elseif($user->user_exp>=520&&$user->user_exp<720){ ?><img src="/static/images/vip-8.png" />
                        <?php }elseif($user->user_exp>=720&&$user->user_exp<1000){ ?><img src="/static/images/vip-9.png" />
                        <?php }elseif($user->user_exp>=1000){ ?><img src="/static/images/vip-10.png" /><?php } ?>
                    </p>
                    <p><span>经验值：</span><?php echo $user->user_exp; ?></p>
                    <p><span>我的积分：</span><?php echo $user->user_point; ?></p>
                </div>
                <div class="mybtndiv">
                    <div class="mbtnv">
                        <ul>
                            <a href="sj-shimingrenzheng.html">
                                <li class="my_sjx"></li>
                            </a>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="cttr mt20">
        <div class="ttopl">
            <div class="ttopl_1 fl">
                <p class="sgray"> 进行中任务：</p>
                <p class="orderNum dis_l10"> <span><a href=""> 0</a></span> <span class="bbtn dis_l30"><a href="srelease tas.html" title="发布任务">发布任务</a></span> <span class="ssblue"><a href="/Task/merchantList.aspx"> 管理任务</a></span> </p>
            </div>
            <div class="ttopl_2 fl">
                <div class="ttopl_2_l">
                    <p class="sgray"> 账户余额（元）</p>
                    <p> <span class="s666"><a href=""> <?php echo $user->user_money; ?></a></span> &nbsp;&nbsp;<span class="ssblue"><a href="srecharge.html">充值</a></span></p>
                </div>
                <div class="ttopl_2_l nei">
                    <p class="sgray"> 发布点</p>
                    <p> <span class="s666"><a href=""> <?php echo $user->user_release_point; ?></a></span> &nbsp;&nbsp;<span class="ssblue"><a href="">购买</a></span></p>
                </div>
                <div class="ttopl_2_r fl">
                    <p class="sgray"> 冻结金额：</p>
                    <p> <span class="s666  s6"> <a href=""><?php echo $user->user_freeze_money; ?></a></span> &nbsp;&nbsp;</p>
                </div>
            </div>
        </div>
        <div class="clr"> </div>
    </div>
    <div class="cttr2">
        <div class="cttr2_1">
            <div class="cttr2_2"> <span class="toptip">资金明细</span> <span class="ssblue fr dis_r15"></span><span class="ssblue fr dis_r15"><a href="my smoney.html"> 更多</a></span> </div>
            <div class="stbl">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tbody>
                    <tr class="trtitle">
                        <td> 操作类型 </td>
                        <td> 变更金额（元） </td>
                        <td> 余额（元） </td>
                        <td> 操作时间 </td>
                    </tr>
                    <?php foreach($moneyDetailList as $item){ ?>
                    <tr>
                        <td> <?php echo $item->type; ?> </td>
                        <td> <?php if($item->change_money>0){ ?>+<?php } ?><?php echo $item->change_money; ?> </td>
                        <td> <?php echo $item->balance; ?> </td>
                        <td> <?php echo date("Y/m/d H:i:s",$item->change_time); ?> </td>
                    </tr>
                    <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<?php } ?>